match x:
    case {'foo': 1,
    'bar': 2,
    'baz': 3}:
        pass